<div id="content">
	
	<div class="row s_page_title" >
		<sa-big-breadcrumbs [items]="['异常警报','地磅异常','异常编辑']" icon="fa fa-list" class="col-xs-12 col-sm-7 col-md-7 col-lg-4"></sa-big-breadcrumbs>
	</div>
	<div class="s_page_wrap">
		<div class="page-header">
			<h1 class="page_detail_title">异常编辑</h1>
		</div>
		<div class="row" style="margin-top:5px;">
		<div class="col-xs-12">
			<form  id="recordForm"  class="form-horizontal" (ngSubmit)="onSubmit()" novalidate="novalidate" [saBootstrapValidator]="validatorOptions">
				<div class="form-group s_fix_select2" >
					<label class="control-label col-sm-1 no-padding-right">车牌号码</label>
					<div class="col-sm-10">
						<div class="form-control" disabled>
							{{page.carNumber}}
						</div>
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-sm-1 no-padding-right">警报时间</label>
					<div class="col-sm-10">
						<div class="form-control" disabled>
							{{page.bridgeDate}}
						</div>
					</div>
				</div>
				
				
				<div class="form-group">
					<label class="control-label col-sm-1 no-padding-right">警报类型</label>
					<div class="col-sm-10">
						<div class="form-control" disabled>
							<span *ngIf='page.type=="1"'>进厂不为零</span>
							<span *ngIf='page.type=="2"'>离厂为零</span>
						</div>
					</div>
				</div>
				
				<div class="form-group">
					<label class="control-label col-sm-1 no-padding-right">处理状态</label>
					<div class="col-sm-10">
						<div class="clearfix fix_select2">
							<select style="width:100%" class="form-control" name="type" [(ngModel)]="page.isDetail">
								<option value="0">待处理</option>
								<option value="1">已处理</option>
							</select>
						</div>
					</div>
				</div>
				<div class="form-group">
					<label class="control-label col-sm-1 no-padding-right">备注</label>
					<div class="col-sm-10">
						<div class="clearfix fix_select2">
							<textarea class="form-control" [(ngModel)]="page.remark" name="remark"></textarea>
						</div>
					</div>
				</div>	
				<div class="center">
					
					<button type="submit" class="btn btn-primary" >保存</button>
					<button type="button" (click)='goBack()' class="btn default">返回</button>
				</div>
			</form>
		</div>
	</div>
	</div>
</div>